package com.my.project.dubbo.user.dal;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

/**
 * @Author:wangbin.
 * @Description.
 * @Date:Created in 11:30 2017/8/31.
 * @Modified By:
 */
@Repository
public class UserDaoImpl implements UserDao {

    @Autowired
    JdbcTemplate userJdbcTemplate;

    public void updateUser() {
        userJdbcTemplate.execute
                ("update user_user set mobile='13241827690',sex='man' where id=1 ");
    }
}
